package com.lj.mcore.service;

import com.lj.mcore.entity.User;
import com.lj.mcore.utils.PageBean;
import org.springframework.data.domain.Page;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface IUserService {

    public abstract boolean save(User paramUser);

    public abstract boolean delete(Long paramLong);

    public abstract boolean update(User paramUser);

    public abstract User getObjById(Long paramLong);

    public abstract User getSingleResult(Map<String,Object> map);

    public abstract List<User> query(String paramString, Map paramMap, int paramInt1, int paramInt2);

    public PageBean getUserList(int pageSize, int page, Map<String, String> query);
}
